#ifndef _FLACHE_H_
#define _FLACHE_H_

#include <pthread.h>

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE !TRUE
#endif

struct flache_vol_t
{
    char* server_path;
    char* flash_path;
    int is_connected;

    pthread_mutex_t write_lock;
    pthread_mutexattr_t write_lock_attrib;

    pthread_mutex_t open_lock;
    pthread_mutexattr_t open_lock_attrib;
};

#endif
